package com.wkk.service;

import com.wkk.entity.PageBean;
import com.wkk.entity.User;

import java.util.List;

public interface UserService {

    User userLogin(User user);

    String userRegister(User user);

    void updateToUser(Integer uid);

    User selectOne(Integer uid);

    String userInfoUpdate(User user);

    boolean userChangePassword(String mobile);

    boolean userChangePassword(User user);

    PageBean<User> selectPageByCondition(Integer current,String condition);

    PageBean<User> queryPageByUserInfo(User user);

    boolean deleteUserByUid(Integer uid);

    boolean upToMember(Integer uid,Integer cid,String myself);

    List<User> selectList();

    User updateByMember(User user);

    List<User> selectListByCid(Integer cid);

    User selectOneByMobile(String mobile);

    boolean updateUserCid(User user);

    boolean updateUserCidState(Integer uid);

    boolean stopConnectByCoach(Integer uid);
}
